package com.apestech.framework.db.queryData;

import com.apestech.framework.db.SqlResultSet;
import com.apestech.framework.db.callback.QueryCallBackHandler;
import com.apestech.framework.json.JSONArray;

/**
 * @author hup
 * @create 2018-08-16-15:50
 */
public class QueryIsEmpty  implements QueryCallBackHandler {

    private boolean hasdata;

    @Override
    public void getData(SqlResultSet rs, JSONArray rslist) throws Exception {
        hasdata=rs.next();
    }

    public boolean isHasdata() {
        return hasdata;
    }

}
